const express = require('express');

const router = express.Router();

const { addStu, getStuList, delStu ,updateStu} = require('../controller/studentCtr')
//增加学员信息
router.post('/addstu', addStu)

// 查询学员信息
router.get('/getstulist', getStuList)

//删除
router.get('/delstu', delStu)
//改
router.post('/updatestu',updateStu)
module.exports = router;